/*
 * Video.java
 * 
 * Versao: 1.0.0
 *
 * Data: 06/04/2011
 *
 * Copyright (C) 2011
 * wsh-systems.
 * Todos os direitos reservados.
 */
package com.wsh.playeronline.persistence.model;

import java.io.Serializable;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Entity implementation class for Entity: Video.
 * 
 * @author Washington
 * @version 1.0, 06/04/2011
 */
@Entity
@Table(name = "tb_video")
public class Video implements Serializable {

	private static final long serialVersionUID = -7666277564781563977L;

	@Id
	@EmbeddedId
	@GeneratedValue
	private EntityKey entityKey;
	private String video;
	
	/**
	 * Get to entityKey.
	 * 
	 * @return entityKey
	 */
	public EntityKey getEntityKey() {
		return entityKey;
	}
	/**
	 * Set to entityKey.
	 * 
	 * @param entityKey to set entityKey
	 */
	public void setEntityKey(EntityKey entityKey) {
		this.entityKey = entityKey;
	}	
	/**
	 * Get to video.
	 * 
	 * @return video
	 */
	public String getVideo() {
		return video;
	}
	/**
	 * Set to video.
	 * 
	 * @param video to set video
	 */
	public void setVideo(String video) {
		this.video = video;
	}
	
}